package br.urca.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "ingre")
public class FormaIngresso {
	
	@Id
	@Column(name = "cding", columnDefinition = "CHAR(1)")
	private String codigo;
	
	@Column(name = "desin", columnDefinition = "VARCHAR(100)")
	private String descricao;
	
	public FormaIngresso() { }

	public FormaIngresso(String codigo, String descricao) {
		super();
		this.codigo = codigo;
		this.descricao = descricao;
	}

	public String getCodigo() {
		return codigo;
	}

	public void setCodigo(String codigo) {
		this.codigo = codigo;
	}

	public String getDescricao() {
		return descricao;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}
	
}
